<?php
    require_once ('config.php');
    //连库
    $con = new mysqli(HOST, USERNAME, PASSWORD);
    //选库
    $con -> select_db('mday');
    //字符集
    $con -> query('set names utf8');
?>